<h1><%= t("user.edit_profile")%></h1>

<% form_for(@user) do |f| %>
  <%= f.error_messages %>

  <p>
    <%= f.label :username, t("user.username") %><br />
    <%= f.text_field :username %>
  </p>
  <p>
    <%= f.label :email, t("user.email") %><br />
    <%= f.text_field :email %>
  </p>
  <p>
    <%= f.label :password, t("user.password") %><br />
    <%= f.text_field :password %>
  </p>
  <p>
    <%= f.label :password_confirmation, t("user.password_confirmation") %><br />
    <%= f.text_field :password_confirmation %>
  </p>
  <p>
    <%= f.submit t("update") %>
  </p>
<% end %>
